package com.itheima.test;

import org.junit.Test;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Tes1 {
	
	@Test
	public void test1(){
		ClassPathXmlApplicationContext ac = 
				new ClassPathXmlApplicationContext("applicationContext.xml");
		System.out.println(ac.getBean("sessionFactory"));
	}
}
